(comint-password-prompt-regexp): Match `Enter Password'.
authorRichard M. Stallman <rms@gnu.org>
Sat, 22 Dec 2007 16:22:33 +0000 (16:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 22 Dec 2007 16:22:33 +0000 (16:22 +0000)
lisp/comint.el

index ed1f38bf1a1887aeace1385812a2a78641f09606..047cc3b80fb09d63b67aa36b649054b70fd647f7 100644 (file)
@@ -336,8 +336,9 @@ This variable is buffer-local."
 ;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
 ;; Ubuntu's sudo prompts like `[sudo] password for user:'
 ;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
+;; Something called "perforce" uses "Enter password:".
 (defcustom comint-password-prompt-regexp
-  "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
+  "\\(\\(Enter \\|[Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
 Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\
 \[Pp]assword\\( (again)\\)?\\|\
 pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\